Skip to main content

Radio Button

AutomatR.Web.RadioButton

The "Radio Button" activity in AutomatR is designed for UI automation, allowing users to select or clear radio buttons on a web page. This activity enhances the capability to interact with dynamic web elements and perform actions based on user-defined conditions.

Properties

NameDescription
Input
ActionEnables the selection or clearing of radio buttons. Choose from the following options:
- Check: Selects the radio button.
- Uncheck: Clears the selection of the radio button.
WebElementEnter a UI Element variable identified by the "Find Element" or another activity. This represents the target radio button on the web page.
Web SelectorSelect the browse button to indicate the element on the web with the help of the selector window.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. String variables containing the desired display name.
Optional
TimeoutEnter the time in seconds (e.g., 5) for the activity to be executed before throwing an exception. This is the maximum time the activity should wait for the specified action to complete.
DelayEnter the wait time in seconds to start the activity. This can be useful for handling synchronization issues.

How to use:

  1. Drag and drop the "Radio Button" activity onto the workflow.
  2. Configure the properties by selecting the desired action (Check or Uncheck) and providing the target radio button element.
  3. Optionally, configure the timeout and delay as needed.
  4. Execute the workflow to interact with the specified radio button on the web page.

Example: Consider an example where the "Radio Button" activity is used to select a radio button on a web page:

Radio Button:
Action: Check
WebElement: radioElement
Timeout: 10 (seconds)
Delay: 2 (seconds)

In this example, the activity selects the specified radio button ("radioElement") on the web page. The action has a timeout of 10 seconds and a delay of 2 seconds for proper synchronization.